package proxy;

/**
 * 功能:
 * 作者: ldl
 * 时间: 2016-08-10 17:23
 */
public class Proxy implements IGiveGift {

    private Pursuit pursuit;

    public Proxy(String girlName) {
        this.pursuit = new Pursuit(girlName);
    }

    @Override
    public void GiveDolls() {
        pursuit.GiveDolls();
    }

    @Override
    public void GiveFlowers() {
        pursuit.GiveFlowers();
    }

    @Override
    public void GiveChocolate() {
        pursuit.GiveChocolate();
    }
}
